package org.jeecg.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.domain.City;
import org.jeecg.domain.dto.ResponseResult;
import org.jeecg.service.CityService;
import org.jeecg.mapper.CityMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 86182
* @description 针对表【city】的数据库操作Service实现
* @createDate 2024-12-22 19:15:54
*/
@Service
public class CityServiceImpl extends ServiceImpl<CityMapper, City>
    implements CityService{
    //    城市列表
    @Override
    public ResponseResult cityList() {
        List<City> list = this.list();
        return ResponseResult.okResult(list);
    }
}




